\hypertarget{classCAlawCodec}{
\section{\-C\-Alaw\-Codec \-Class \-Reference}
\label{classCAlawCodec}\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}}
}


{\ttfamily \#include $<$alaw\-\_\-codec.\-h$>$}

\-Inheritance diagram for \-C\-Alaw\-Codec\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCAlawCodec}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCAlawCodec_a560fc4a719a5a0d46b2fc8f6600d5d8e}{\-C\-Alaw\-Codec} ()
\item 
virtual \hyperlink{classCAlawCodec_a60332fe808aa0e1269a5c4a6469a4552}{$\sim$\-C\-Alaw\-Codec} ()
\item 
virtual \hyperlink{namespaceNAudioFormats_a3bd6168a4f5f18e84873337a65d3062c}{\-N\-Audio\-Formats\-::\-E\-Codec} \hyperlink{classCAlawCodec_a84aa64cf912445c0879275e1f373abad}{get\-Codec\-Type} ()
\item 
virtual double \hyperlink{classCAlawCodec_a4c47b48d4efbbff573c6ad02cace7d8e}{convert\-From\-S8\-To\-Double} (int8\-\_\-t p\-Sample)
\item 
virtual int8\-\_\-t \hyperlink{classCAlawCodec_acf4e231e5be1ac93e59cd233bbfee617}{convert\-From\-Double\-To\-S8} (double p\-Sample)
\item 
virtual double \hyperlink{classCAlawCodec_a0a22de681181821b1c95d697ca4f3371}{convert\-From\-U8\-To\-Double} (uint8\-\_\-t p\-Sample)
\item 
virtual uint8\-\_\-t \hyperlink{classCAlawCodec_aa1dead463361a8d3bd47520e67e719cf}{convert\-From\-Double\-To\-U8} (double p\-Sample)
\item 
virtual double \hyperlink{classCAlawCodec_a4d93208267febdd08f5db7fb5d80f38e}{convert\-From\-S16\-To\-Double} (int16\-\_\-t p\-Sample)
\item 
virtual int16\-\_\-t \hyperlink{classCAlawCodec_a67f2255592c5796386d9fdcf94841768}{convert\-From\-Double\-To\-S16} (double p\-Sample)
\item 
virtual double \hyperlink{classCAlawCodec_a8ccad6939d51da61d8436a11fb3ac95c}{convert\-From\-U16\-To\-Double} (uint16\-\_\-t p\-Sample)
\item 
virtual uint16\-\_\-t \hyperlink{classCAlawCodec_a058417ef980bf4be07ac68dc52016500}{convert\-From\-Double\-To\-U16} (double p\-Sample)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCAlawCodec_ac3c860cf40c8fb913fedd2ebbbfbdc98}{\-C\-Alaw\-Codec} (const \hyperlink{classCAlawCodec}{\-C\-Alaw\-Codec} \&)
\item 
\hyperlink{classCAlawCodec}{\-C\-Alaw\-Codec} \& \hyperlink{classCAlawCodec_a53a3b8f0795e0c06a8f35cedd06f6872}{operator=} (const \hyperlink{classCAlawCodec}{\-C\-Alaw\-Codec} \&)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
static unsigned char \hyperlink{classCAlawCodec_a1c66e69dfd615481797c9a364c09a873}{m\-Exponent\-Table} \mbox{[}128\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCAlawCodec_a560fc4a719a5a0d46b2fc8f6600d5d8e}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}}
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{\-C\-Alaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Alaw\-Codec\-::\-C\-Alaw\-Codec (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classCAlawCodec_a560fc4a719a5a0d46b2fc8f6600d5d8e}
\hypertarget{classCAlawCodec_a60332fe808aa0e1269a5c4a6469a4552}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!$\sim$\-C\-Alaw\-Codec@{$\sim$\-C\-Alaw\-Codec}}
\index{$\sim$\-C\-Alaw\-Codec@{$\sim$\-C\-Alaw\-Codec}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{$\sim$\-C\-Alaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Alaw\-Codec\-::$\sim$\-C\-Alaw\-Codec (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a60332fe808aa0e1269a5c4a6469a4552}
\hypertarget{classCAlawCodec_ac3c860cf40c8fb913fedd2ebbbfbdc98}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}}
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{\-C\-Alaw\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Alaw\-Codec\-::\-C\-Alaw\-Codec (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Alaw\-Codec} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCAlawCodec_ac3c860cf40c8fb913fedd2ebbbfbdc98}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCAlawCodec_a67f2255592c5796386d9fdcf94841768}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-Double\-To\-S16@{convert\-From\-Double\-To\-S16}}
\index{convert\-From\-Double\-To\-S16@{convert\-From\-Double\-To\-S16}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-S16}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t \-C\-Alaw\-Codec\-::convert\-From\-Double\-To\-S16 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a67f2255592c5796386d9fdcf94841768}


\-Implements \hyperlink{classICodec_a6afd4b23e8ddfafd5c34286aaf05a935}{\-I\-Codec}.

\hypertarget{classCAlawCodec_acf4e231e5be1ac93e59cd233bbfee617}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-Double\-To\-S8@{convert\-From\-Double\-To\-S8}}
\index{convert\-From\-Double\-To\-S8@{convert\-From\-Double\-To\-S8}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-S8}]{\setlength{\rightskip}{0pt plus 5cm}int8\-\_\-t \-C\-Alaw\-Codec\-::convert\-From\-Double\-To\-S8 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_acf4e231e5be1ac93e59cd233bbfee617}


\-Implements \hyperlink{classICodec_ab33bc0554038c4a16dfa013730f89a64}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a058417ef980bf4be07ac68dc52016500}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-Double\-To\-U16@{convert\-From\-Double\-To\-U16}}
\index{convert\-From\-Double\-To\-U16@{convert\-From\-Double\-To\-U16}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-U16}]{\setlength{\rightskip}{0pt plus 5cm}uint16\-\_\-t \-C\-Alaw\-Codec\-::convert\-From\-Double\-To\-U16 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a058417ef980bf4be07ac68dc52016500}


\-Implements \hyperlink{classICodec_a19b158526af31b63259ea503b4775bef}{\-I\-Codec}.

\hypertarget{classCAlawCodec_aa1dead463361a8d3bd47520e67e719cf}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-Double\-To\-U8@{convert\-From\-Double\-To\-U8}}
\index{convert\-From\-Double\-To\-U8@{convert\-From\-Double\-To\-U8}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-Double\-To\-U8}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t \-C\-Alaw\-Codec\-::convert\-From\-Double\-To\-U8 (
\begin{DoxyParamCaption}
\item[{double}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_aa1dead463361a8d3bd47520e67e719cf}


\-Implements \hyperlink{classICodec_a4fbf30da96b9c8ff5677e96eb79c5f69}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a4d93208267febdd08f5db7fb5d80f38e}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-S16\-To\-Double@{convert\-From\-S16\-To\-Double}}
\index{convert\-From\-S16\-To\-Double@{convert\-From\-S16\-To\-Double}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-S16\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Alaw\-Codec\-::convert\-From\-S16\-To\-Double (
\begin{DoxyParamCaption}
\item[{int16\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a4d93208267febdd08f5db7fb5d80f38e}


\-Implements \hyperlink{classICodec_a932b130f0ea5582384463ea6233852f2}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a4c47b48d4efbbff573c6ad02cace7d8e}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-S8\-To\-Double@{convert\-From\-S8\-To\-Double}}
\index{convert\-From\-S8\-To\-Double@{convert\-From\-S8\-To\-Double}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-S8\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Alaw\-Codec\-::convert\-From\-S8\-To\-Double (
\begin{DoxyParamCaption}
\item[{int8\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a4c47b48d4efbbff573c6ad02cace7d8e}


\-Implements \hyperlink{classICodec_aa352c902221b6c813033857eae1f1441}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a8ccad6939d51da61d8436a11fb3ac95c}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-U16\-To\-Double@{convert\-From\-U16\-To\-Double}}
\index{convert\-From\-U16\-To\-Double@{convert\-From\-U16\-To\-Double}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-U16\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Alaw\-Codec\-::convert\-From\-U16\-To\-Double (
\begin{DoxyParamCaption}
\item[{uint16\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a8ccad6939d51da61d8436a11fb3ac95c}


\-Implements \hyperlink{classICodec_a132e3e66477b84ac0ae68d02348bcb13}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a0a22de681181821b1c95d697ca4f3371}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!convert\-From\-U8\-To\-Double@{convert\-From\-U8\-To\-Double}}
\index{convert\-From\-U8\-To\-Double@{convert\-From\-U8\-To\-Double}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{convert\-From\-U8\-To\-Double}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Alaw\-Codec\-::convert\-From\-U8\-To\-Double (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{p\-Sample}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a0a22de681181821b1c95d697ca4f3371}


\-Implements \hyperlink{classICodec_a9a5757b34cc8008ee89c047f70510364}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a84aa64cf912445c0879275e1f373abad}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!get\-Codec\-Type@{get\-Codec\-Type}}
\index{get\-Codec\-Type@{get\-Codec\-Type}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{get\-Codec\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-N\-Audio\-Formats\-::\-E\-Codec} \-C\-Alaw\-Codec\-::get\-Codec\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCAlawCodec_a84aa64cf912445c0879275e1f373abad}


\-Implements \hyperlink{classICodec_a7372c452a54bcf4dfcaab3bb2031c277}{\-I\-Codec}.

\hypertarget{classCAlawCodec_a53a3b8f0795e0c06a8f35cedd06f6872}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!operator=@{operator=}}
\index{operator=@{operator=}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-C\-Alaw\-Codec}\& \-C\-Alaw\-Codec\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Alaw\-Codec} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCAlawCodec_a53a3b8f0795e0c06a8f35cedd06f6872}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCAlawCodec_a1c66e69dfd615481797c9a364c09a873}{
\index{\-C\-Alaw\-Codec@{\-C\-Alaw\-Codec}!m\-Exponent\-Table@{m\-Exponent\-Table}}
\index{m\-Exponent\-Table@{m\-Exponent\-Table}!CAlawCodec@{\-C\-Alaw\-Codec}}
\subsubsection[{m\-Exponent\-Table}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \-C\-Alaw\-Codec\-::m\-Exponent\-Table}\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCAlawCodec_a1c66e69dfd615481797c9a364c09a873}
{\bfseries \-Initial value\-:}
\begin{DoxyCode}
 {
        0, 1, 2, 2, 3, 3, 3, 3,
        4, 4, 4, 4, 4, 4, 4, 4,
        5, 5, 5, 5, 5, 5, 5, 5,
        5, 5, 5, 5, 5, 5, 5, 5,
        6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6,
        6, 6, 6, 6, 6, 6, 6, 6,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7,
        7, 7, 7, 7, 7, 7, 7, 7
}
\end{DoxyCode}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{alaw__codec_8h}{alaw\-\_\-codec.\-h}\item 
\hyperlink{alaw__codec_8cxx}{alaw\-\_\-codec.\-cxx}\end{DoxyCompactItemize}
